function Person(){

}

Person.prototype.name='孔子';


let p1=new Person();
let p2=new Person();


console.log(p1==p2);

console.log(p1.name,p2.name)